# -*- coding: utf-8 -*-

"""
Time    : 2021/6/21 17:07
Author  : chenyangv
Email   :chenyang.it@outlook.com
FileName: login.py
Software: PyCharm
"""
from wtforms import Form, StringField, validators


# 添加设备表单
class Login(Form):
    username = StringField(label='username', validators=[validators.data_required(message='用户名没写！！！')])
    password = StringField(label='password', validators=[validators.data_required(message="密码也不写！！！")])
